package generator;

import com.baomidou.mybatisplus.generator.config.GlobalConfig;
import org.springframework.stereotype.Controller;

public class Demo {
    public static void main(String[] args) {
        GlobalConfig gc = new GlobalConfig();
        String projectPath = System.getProperty("user.dir");
        String pathName = Controller.class.getClass().getResource("/").getPath().substring(1).replace("/", "\\");
        pathName.substring(0,pathName.indexOf("target")-1);
        System.out.println();
        System.out.println(projectPath);
    }
}
